package org.yihang.mapper;

import java.util.List;

import org.yihang.entity.Condition;
import org.yihang.entity.Hero;

public interface HeroMapper {

	public void save(Hero hero);

	public void update(Hero hero);

	public void delete(int id);
	
	public void deleteByIds(List<Integer> ids);

	public Hero findById(int id);

	public List<Hero> findByCondition(Condition condition);

	public int findCount(Condition condition);

}
